<!DOCTYPE html>
<html lang="en">
<head>
	<{include file="header.html"}>
	<title>开设新班级-班级管理-<{$user_data['school_name']}>-德安信会计在线教育平台</title>
	<script>
	$(function(){


		$("#btn_save").click(function(){
			$("form").submit();
		});
	})
	</script>
</head>
<body>
	<div class="wrap">
		<!--star left-->
		<div class="column">
			<{include file="left_menu.html"}>
		</div>
		<div id="ContMianBox">
			<!--star子栏目-->
			<div class="sub-colum">
                <div class="tit"><{$left_menu_min.menu}></div>
                <ul>
                    <{foreach from=$left_menu_min.list item=item}>
                    <li <{if $item['url'] == $left_menu_min.curr}>class="curr"<{/if}>><a href="<{$item['url']}>"><{$item['name']}></a></li>
                    <{/foreach}>
                </ul>
            </div>
			<!--end子栏目-->
			
			<!--end left-->
			<div class="container narrow">
			    <!--star conter-->
			    <div class="cetContent">
						<div class="tit p-lr20">
						    <span><a href="/classes">班级管理</a></span>
							<span class="curr">创建班级</span>
						</div>
					<!--star内容区域-->
					<div class="mainScroll">
					    <div class="mainContainer line-all">
					        <div class="tabMainCont">

					            <!--star 编辑基本信息-->
					            <div class="tabItem step-02">

									<form method="post" class="layui-form">
										<div class="layui-form-item">
										 <label class="layui-form-label">班级编号：</label>
										 <div class="layui-input-inline">
											 <input type="text" name="class_num" value="<{$class_info.class_num}>" readonly class="layui-input">
											 <{if isset($class_num_err)}>
											<i class="layui-icon" style="font-size: 30px; color: red">&#x1007;</i>
											<span class="tip" style=" padding:2px 5px;"><{$class_num_err}></span>
											<{/if}>
										 </div>
										</div>
									<div class="layui-form-item">
									 <label class="layui-form-label">班级名称：</label>
									 <div class="layui-input-block">
										 <input type="text" name="class_name" style="width: 500px;" readonly value="<{$class_info.class_name}>" class="layui-input">
										 <{if isset($class_name_err)}>
										<i class="layui-icon" style="font-size: 30px; color: red">&#x1007;</i>
										<span class="tip" style=" padding:2px 5px;"><{$class_name_err}></span>
										<{/if}>
									 </div>
									</div>
									<div class="layui-form-item">
								    <label class="layui-form-label">主讲老师：</label>
										<div class="layui-input-inline">
												<select name="lecturer_id"  style="width: 500px;" lay-verify="required">
												<option value=""></option>
												<{foreach from=$teachers item=item}>
												<option value="<{$item['id']}>" <{if $class_info.lecturer_id == $item.id}>selected<{/if}>><{$item['teacher_name']}></option>
												<{/foreach}>
											</select>
								  	</div>
								  </div>
									<div class="layui-form-item">
								    <label class="layui-form-label">班主任：</label>
										<div class="layui-input-inline">
											<select name="manage_teacher_id"  style="width: 500px;" lay-verify="required">
												<option value=""></option>
												<{foreach from=$teachers item=item}>
												<option value="<{$item['id']}>" <{if $class_info.manage_teacher_id == $item.id}>selected<{/if}>><{$item['teacher_name']}></option>
												<{/foreach}>
											</select>
								  		</div>
								  </div>
									

									<div class="layui-form-item">
									 <div class="layui-input-block">
										 <button class="layui-btn" lay-submit lay-filter="*">立即提交</button>
										 <button type="reset" class="layui-btn layui-btn-primary">取消</button>
									 </div>
									</div>


					            </form>
					            </div>
					            <!--end 编辑基本信息-->

					        </div>


					    </div>
					</div>
					</div>
					<!--end内容区域-->

		    <!--end conter-->
		</div>


	</div>
</div>
<{include file="footer.html"}>
</body>
</html>
